import {myRequest} from "../utils/request.js"
//藏品列表
export function goodsList(data) {
	return myRequest({
		url: 'member_space/goodsList',
		method: "POST",
		data:data||{}
	})
}
//藏品详情

export function goodsGroupList(data) {
	return myRequest({
		url: 'member_space/goodsGroupList',
		method: "POST",
		data:data||{}
	})
}
export function detail(data) {
	return myRequest({
		url: 'member_space/myDetails',
		method: "POST",
		data:data||{}
	})
}
//获取转售配置信息
export function resaleConfig(data) {
	return myRequest({
		url: 'member_space/resaleConfig',
		method: "POST",
		data:data||{}
	})
}
//获取他人信息

export function phoneMemberInfo(data) {
	return myRequest({
		url: 'member/phoneMemberInfo',
		method: "POST",
		data:data||{}
	})
}
//藏品转赠

export function transfer(data) {
	return myRequest({
		url: 'member_space/transfer',
		method: "POST",
		data:data||{}
	})
}
//藏品转赠记录
export function transferLog(data) {
	return myRequest({
		url: 'member_space/transferLog',
		method: "POST",
		data:data||{}
	})
}
//出售均价参考

export function salesReference(data) {
	return myRequest({
		url: 'member_space/salesReference',
		method: "POST",
		data:data||{}
	})
}
//出售

export function rent(data) {
	return myRequest({
		url: 'member_space/rent',
		method: "POST",
		data:data||{}
	})
}
//仅售卖列表

export function jinshoumai(data) {
	return myRequest({
		url: 'member_output_record/index',
		method: "POST",
		data:data||{}
	})
}
//回收

export function sell(data) {
	return myRequest({
		url: 'member_output_record/sell',
		method: "POST",
		data:data||{}
	})
}
//藏品改变状态
export function updateStatus(data) {
	return myRequest({
		url: 'member_space/updateStatus',
		method: "POST",
		data:data||{}
	})
}
//成交趋势

export function trend(data) {
	return myRequest({
		url: 'goods_rent/transactionTrend',
		method: "POST",
		data:data||{}
	})
}

//藏品待挖宝、挖宝中的数量
export function spaceStatusTotal(data) {
	return myRequest({
		url: 'member_space/spaceStatusTotal',
		method: "POST",
		data:data||{}
	})
}

export function propGroup(data) {
	return myRequest({
		url: 'member_prop_space/propGroup',
		method: "POST",
		data:data||{}
	})
}
export function propList(data) {
	return myRequest({
		url: 'member_prop_space/propList',
		method: "POST",
		data:data||{}
	})
}

export function propApply(data) {
	return myRequest({
		url: 'member_prop_space/propApply',
		method: "POST",
		data:data||{}
	})
}
export function proptrend(data) {
	return myRequest({
		url: 'prop_rent/transactionTrend',
		method: "POST",
		data:data||{}
	})
}
export function fragmentGroup(data) {
	return myRequest({
		url: 'member_prop_space/fragmentGroup',
		method: "POST",
		data:data||{}
	})
}

export function fragmentList(data) {
	return myRequest({
		url: 'member_prop_space/fragmentList',
		method: "POST",
		data:data||{}
	})
}

export function batchRrent(data) {
	return myRequest({
		url: 'member_prop_space/batchRrent',
		method: "POST",
		data:data||{}
	})
}
export function batchCancelRent(data) {
	return myRequest({
		url: 'member_prop_space/batchCancelRent',
		method: "POST",
		data:data||{}
	})
}
